IF EXISTS (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[UpdateBanco]') AND OBJECTPROPERTY(id, N'IsProcedure') = 1)
	DROP PROCEDURE [dbo].[UpdateBanco]
GO

CREATE PROCEDURE [dbo].[UpdateBanco]
(
	@IdBanco int,
	@Nombre varchar(155),
	@Descripcion varchar(255)
)
AS
BEGIN
	SET NOCOUNT ON

	UPDATE [Banco]
	SET [Nombre] = @Nombre, 
		[Descripcion] = @Descripcion
	WHERE [IdBanco] = @IdBanco

	SET NOCOUNT OFF
END

GO
